<template>
  <div class="article-management-bg">
    <div class="article-management-center">
      <!-- 页面标题区域 -->
      <div class="article-header">
        <div class="article-avatar">
          <i class="el-icon-document"></i>
        </div>
        <div class="article-title">文章管理</div>
        <div class="article-subtitle">管理系统文章内容和分类</div>
      </div>

      <!-- 待开发提示 -->
      <div class="development-notice">
        <el-card class="notice-card">
          <div class="notice-content">
            <div class="notice-icon">
              <i class="el-icon-warning"></i>
            </div>
            <div class="notice-text">
              <h3>功能开发中</h3>
              <p>文章管理模块正在开发中，敬请期待...</p>
              <div class="development-info">
                <el-tag type="info">后端API未提供</el-tag>
                <el-tag type="warning">前端功能待完善</el-tag>
                <el-tag type="success">预计下一版本发布</el-tag>
              </div>
            </div>
          </div>
        </el-card>
      </div>

      <!-- 功能预览 -->
      <div class="feature-preview">
        <el-row :gutter="20">
          <el-col :span="8">
            <el-card class="preview-card">
              <template #header>
                <div class="preview-header">
                  <i class="el-icon-document"></i>
                  <span>文章管理</span>
                </div>
              </template>
              <div class="preview-content">
                <p>• 文章创建、编辑、删除</p>
                <p>• 文章分类管理</p>
                <p>• 文章状态管理</p>
                <p>• 批量操作功能</p>
              </div>
            </el-card>
          </el-col>
          <el-col :span="8">
            <el-card class="preview-card">
              <template #header>
                <div class="preview-header">
                  <i class="el-icon-s-grid"></i>
                  <span>分类管理</span>
                </div>
              </template>
              <div class="preview-content">
                <p>• 分类创建、编辑、删除</p>
                <p>• 分类层级管理</p>
                <p>• 分类文章统计</p>
                <p>• 分类排序功能</p>
              </div>
            </el-card>
          </el-col>
          <el-col :span="8">
            <el-card class="preview-card">
              <template #header>
                <div class="preview-header">
                  <i class="el-icon-s-promotion"></i>
                  <span>发布管理</span>
                </div>
              </template>
              <div class="preview-content">
                <p>• 文章发布、下架</p>
                <p>• 发布状态管理</p>
                <p>• 发布时间设置</p>
                <p>• 发布权限控制</p>
              </div>
            </el-card>
          </el-col>
        </el-row>
      </div>
    </div>
  </div>
</template>

<script setup>
// 文章管理模块 - 待开发
console.log('文章管理模块 - 待开发状态')
</script>

<style scoped>
.article-management-bg {
  width: 100%;
  min-height: calc(100vh - 60px);
  background: #f5f7fa;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
}

.article-management-center {
  width: 100%;
  max-width: 1400px;
  background: transparent;
  border-radius: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

.article-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 32px;
  color: white;
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.article-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.article-subtitle {
  color: #7f8c8d;
  font-size: 16px;
  margin: 0;
}

.development-notice {
  width: 100%;
  max-width: 800px;
  margin-bottom: 30px;
}

.notice-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.notice-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.notice-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

.notice-text {
  flex: 1;
}

.notice-text h3 {
  margin: 0 0 10px 0;
  color: #2c3e50;
  font-size: 20px;
}

.notice-text p {
  margin: 0 0 15px 0;
  color: #7f8c8d;
  font-size: 14px;
}

.development-info {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-preview {
  width: 100%;
  max-width: 1400px;
}

.preview-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #2c3e50;
}

.preview-header i {
  font-size: 18px;
  color: #667eea;
}

.preview-content {
  padding: 10px 0;
}

.preview-content p {
  margin: 8px 0;
  color: #7f8c8d;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .article-management-center {
    padding: 20px 15px;
    max-width: 95vw;
  }
  
  .article-title {
    font-size: 28px;
  }
  
  .article-avatar {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  
  .notice-content {
    flex-direction: column;
    text-align: center;
  }
  
  .development-info {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .article-management-center {
    padding: 15px 10px;
    max-width: 100vw;
  }
  
  .article-title {
    font-size: 24px;
  }
  
  .article-avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .notice-content {
    padding: 15px;
  }
  
  .notice-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .development-info {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .article-management-center {
    padding: 10px 8px;
    max-width: 100vw;
  }
  
  .article-title {
    font-size: 20px;
  }
  
  .article-avatar {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .notice-content {
    padding: 10px;
  }
  
  .notice-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .preview-content p {
    font-size: 12px;
  }
}
</style>